'''
Created on 13.03.2011

@author: mutius
'''

import wx
class AuthorizedEvent(wx.PyCommandEvent):
    def __init__(self, evtType, id, connection):
        wx.PyCommandEvent.__init__(self, evtType, id)
        self.connection = connection
        
myEVT_USER_AUTHORIZED = wx.NewEventType()
EVT_USER_AUTHORIZED = wx.PyEventBinder(myEVT_USER_AUTHORIZED, 1)

class LogoutEvent(wx.PyCommandEvent):
    pass

myEVT_USER_LOGOUT = wx.NewEventType()
EVT_USER_LOGOUT = wx.PyEventBinder(myEVT_USER_LOGOUT, 1)

class FastSearchEvent(wx.PyCommandEvent):
    def __init__(self, evtType, id, command):
        wx.PyCommandEvent.__init__(self, evtType, id)
        self.command = command

myEVT_FAST_SEARCH = wx.NewEventType()
EVT_FAST_SEARCH = wx.PyEventBinder(myEVT_FAST_SEARCH, 1)